package day05;

public class MultiTable {
    public static void main(String[] args) {
        //嵌套循环
        /*循环中套循环，while，do。。while，for都可以套
        * 常常在多行多列的时候用
        建议层数越少越好
        break只能跳出当前循环*/
        for (int num = 1; num <= 9; num++) {
            for (int i = 1; i <= num; i++) {
                System.out.print(i + "*" + num +"="+ i * num + "\t");//\t,
            }
            System.out.println();//换行
        }
    }
}
